#ifndef _MYIMAGE_H_
#define _MYIMAGE_H_

// Local Includes

// System Includes

class MyImage
{
  public:
    
    // Constructor & Destructor
    MyImage();
    ~MyImage();

    // Image Loading
    bool loadImage( const char* pChar );

    //
    bool setTexOp( unsigned int op );
    bool setTexChan( unsigned int chan );

    // Texture
    bool bindTexture();
    bool enableTexture();
    bool disableTexture();

	bool isLoaded(){
		return _bLoaded;
	}

protected:
    unsigned int     _ePxlType;
    unsigned int     _eTexType;
    unsigned int     _eTexComp;
    unsigned int     _eTexOp;
    unsigned int     _iTexChan;
    unsigned int     _iTexMode;

    int              _iWidth;
    int              _iHeight;

    bool             _bTexBind;
    unsigned int     _cTexID;

    unsigned int    *_pData;

	bool			_bLoaded;
    
};

#endif // _MYIMAGE_H_
